package Utils.excel;

import java.util.Date;

public class User {
    private String name;
    private String phoneNum;
    private String province;
    private String city;
    private int salary;
    private Date dateEmp;
    private Date dateBirth;
    private String address;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public Date getDateEmp() {
        return dateEmp;
    }

    public void setDateEmp(Date dateEmp) {
        this.dateEmp = dateEmp;
    }

    public Date getDateBirth() {
        return dateBirth;
    }

    public void setDateBirth(Date dateBirth) {
        this.dateBirth = dateBirth;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", salary='" + salary + '\'' +
                ", dateEmp='" + dateEmp + '\'' +
                ", dateBirth='" + dateBirth + '\'' +
                ", address='" + address + '\'' +
                '}';
    }

    public User() {
    }

    public User(String name, String phoneNum, String province, String city, int salary, Date dateEmp, Date dateBirth, String address) {
        this.name = name;
        this.phoneNum = phoneNum;
        this.province = province;
        this.city = city;
        this.salary = salary;
        this.dateEmp = dateEmp;
        this.dateBirth = dateBirth;
        this.address = address;
    }
}
